package me.timlong.dataobject;

import java.sql.Timestamp;
import java.util.Date;

public class PromoDO {
    private Integer id;
    private String promoName;
    private Date startDate;

    private Integer itemId;
    private Double promoItemPrice;

    private Date endDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPromoName() {
        return promoName;
    }

    public void setPromoName(String promoName) {
        this.promoName = promoName == null ? null : promoName.trim();
    }

    public Date getStartDate() {
        return startDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column promo.start_date
     *
     * @param startDate the value for promo.start_date
     * @mbg.generated Sun Jun 28 22:57:24 CST 2020
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column promo.item_id
     *
     * @return the value of promo.item_id
     * @mbg.generated Sun Jun 28 22:57:24 CST 2020
     */
    public Integer getItemId() {
        return itemId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column promo.item_id
     *
     * @param itemId the value for promo.item_id
     * @mbg.generated Sun Jun 28 22:57:24 CST 2020
     */
    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column promo.promo_item_price
     *
     * @return the value of promo.promo_item_price
     * @mbg.generated Sun Jun 28 22:57:24 CST 2020
     */
    public Double getPromoItemPrice() {
        return promoItemPrice;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column promo.promo_item_price
     *
     * @param promoItemPrice the value for promo.promo_item_price
     * @mbg.generated Sun Jun 28 22:57:24 CST 2020
     */
    public void setPromoItemPrice(Double promoItemPrice) {


        this.promoItemPrice = promoItemPrice;
    }

}